package com.xuanzheng.company.entity;

import java.sql.Timestamp;

/**
 * AI模型实体类
 */
public class AIModel {
    private String id;
    private String name;
    private String description;
    private String apiKey;
    private String apiUrl;
    private int status;
    private int maxTokens;
    private double temperature;
    private Timestamp createTime;
    private Timestamp updateTime;

    public AIModel() {}

    public AIModel(String id, String name, String description, String apiKey, String apiUrl, 
                   int status, int maxTokens, double temperature) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.apiKey = apiKey;
        this.apiUrl = apiUrl;
        this.status = status;
        this.maxTokens = maxTokens;
        this.temperature = temperature;
    }

    // Getters and Setters
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getMaxTokens() {
        return maxTokens;
    }

    public void setMaxTokens(int maxTokens) {
        this.maxTokens = maxTokens;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "AIModel{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", apiUrl='" + apiUrl + '\'' +
                ", status=" + status +
                ", maxTokens=" + maxTokens +
                ", temperature=" + temperature +
                '}';
    }
}